<%@ Page language="c#" Codebehind="PointSystem.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Settings.PointSystem" MasterPageFile="~/ControlPanel/Masters/SetupAdmin.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<cp:resourcecontrol id="RegionTitle" runat="Server" resourcename="Admin_SiteSettings_Points"></cp:resourcecontrol>
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
	<CP:ControlPanelSelectedNavigation runat="server" SelectedNavItem="ToolsPoints" />
	<cp:statusmessage id="LicenseMessage" runat="server" />
	<cp:statusmessage id="Status" runat="server" />
	
	<TWC:TabbedPanes id="EditorTabs" runat="server"
	PanesCssClass="CommonPane"
	TabSetCssClass="CommonPaneTabSet"
	TabCssClasses="CommonPaneTab"
	TabSelectedCssClasses="CommonPaneTabSelected"
	TabHoverCssClasses="CommonPaneTabHover"
	>
	<TWC:TabbedPane runat="server">
		<Tab><CP:ResourceControl runat="server" ResourceName="Admin_SiteSettings_Points_Tab_General" /></Tab>
		<Content>
				<table border="0" cellspacing="0" cellpadding="2">
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_EnablePointSystem" /></strong><br />
							<cp:resourcecontrol resourcename="Admin_SiteSettings_Points_EnablePointSystem_Descr" runat="server" />
						</td>
						<td class="CommonFormField" nowrap="nowrap">
							<cp:yesnoradiobuttonlist id="EnablePointSystem" runat="server" repeatcolumns="2"></cp:yesnoradiobuttonlist>
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_PostDisplayLevel" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_PostDisplayLevel_Descr" />
						</td>
						<td class="CommonFormField" nowrap="nowrap">
							<cp:displayleveldropdownlist id="PointsPostDisplayLevel" runat="server"></cp:displayleveldropdownlist>
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
                            <strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_UserDisplayLevel" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_UserDisplayLevel_Descr" />
						</td>
						<td class="CommonFormField" nowrap="nowrap">
							<cp:displayleveldropdownlist id="PointsUserDisplayLevel" runat="server"></cp:displayleveldropdownlist>
						</td>
					</tr>
				</table>
		</Content>
	</TWC:TabbedPane>
	<TWC:TabbedPane runat="server">
		<Tab><CP:ResourceControl runat="server" ResourceName="Admin_SiteSettings_Points_Tab_FactorValues" /></Tab>
		<Content>
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_PostFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_PostFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsPostFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsPostFactor"
								id="PointsPostFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_ReplyFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_ReplyFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsReplyFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsReplyFactor"
								id="PointsReplyFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_ReplierFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_ReplierFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsReplierFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsReplierFactor"
								id="PointsReplierFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_RatingFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_RatingFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsRatingFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsRatingFactor"
								id="PointsRatingFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_DownloadFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_DownloadFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsDownloadFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsDownloadFactor"
								id="PointsDownloadFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_DownloaderFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_DownloaderFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsDownloaderFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsDownloaderFactor"
								id="PointsDownloaderFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_FavoritePostFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_FavoritePostFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsFavoritePostFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsFavoritePostFactor"
								id="PointsFavoritePostFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_FavoriteUserFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_FavoriteUserFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsFavoriteUserFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsFavoriteUserFactor"
								id="PointsFavoriteUserFactorValidator" />
						</td>
					</tr>
					<tr>
						<td class="CommonFormFieldName">
							<strong><cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_RaterFactor" /></strong><br />
							<cp:resourcecontrol runat="Server" resourcename="Admin_SiteSettings_Points_RaterFactor_Descr" />
						</td>
						<td class="CommonFormField">
							<asp:textbox id="PointsRaterFactor" runat="server" CssClass="ControlPanelTextInput" maxlength="64"></asp:textbox>
							<asp:requiredfieldvalidator runat="server" errormessage="*" font-bold="True" controltovalidate="PointsRaterFactor"
								id="PointsRaterFactorValidator" />
						</td>
					</tr>
				</table>
		</Content>
	</TWC:TabbedPane>
	<TWC:TabbedPane runat="server">
		<Tab><CP:ResourceControl runat="server" ResourceName="Admin_SiteSettings_Points_Tab_Calculate" /></Tab>
		<Content>
				<div class="CommonFormFieldName">
					<cp:resourcecontrol runat="server" resourcename="Admin_SiteSettings_Points_Calculate" />
				</div>
				<div class="CommonFormField">
					<asp:button id="CalculateButton" runat="server" width="80px"></asp:button>
				</div>
		</Content>
	</TWC:TabbedPane>
	</TWC:TabbedPanes>
	<div class="PanelSaveButton DetailsFixedWidth">
		<cp:resourcelinkbutton id="SaveButton" runat="server" resourcename="Save" cssclass="CommonTextButton"></cp:resourcelinkbutton>
	</div>
</asp:Content>

